/**
 * Copyright (c) 2015-2017, Henry Yang 杨勇 (gismail@foxmail.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mapfinal.server.auth.model;

import com.lambkit.db.sql.ConditionMode;
import com.lambkit.db.sql.column.Column;
import com.lambkit.db.sql.column.Columns;
import com.lambkit.db.sql.column.Example;

import java.io.Serializable;
import java.util.List;

/**
 * @author yangyong 
 * @website: www.lambkit.com
 * @email: gismail@foxmail.com
 * @date 2020-09-23
 * @version 1.0
 * @since 1.0
 */
public class RoleCriteria extends Columns implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public static RoleCriteria create() {
		return new RoleCriteria();
	}
	
	public static RoleCriteria create(Column column) {
		RoleCriteria that = new RoleCriteria();
		that.add(column);
        return that;
    }

    public static RoleCriteria create(String name, Object value) {
        return (RoleCriteria) create().eq(name, value);
    }
    
    public Example example() {
    	return Example.create("lk_roles", this);
    }
    
    /**
     * equals
     *
     * @param name
     * @param value
     * @return
     */
    public RoleCriteria eq(String name, Object value) {
    	super.eq(name, value);
        return this;
    }

    /**
     * not equals !=
     *
     * @param name
     * @param value
     * @return
     */
    public RoleCriteria ne(String name, Object value) {
    	super.ne(name, value);
        return this;
    }


    /**
     * like
     *
     * @param name
     * @param value
     * @return
     */

    public RoleCriteria like(String name, Object value) {
    	super.like(name, value);
        return this;
    }
    
    public RoleCriteria notLike(String name, Object value) {
    	super.notLike(name, value);
        return this;
    }

    /**
     * 大于 great than
     *
     * @param name
     * @param value
     * @return
     */
    public RoleCriteria gt(String name, Object value) {
    	super.gt(name, value);
        return this;
    }

    /**
     * 大于等于 great or equal
     *
     * @param name
     * @param value
     * @return
     */
    public RoleCriteria ge(String name, Object value) {
    	super.ge(name, value);
        return this;
    }

    /**
     * 小于 less than
     *
     * @param name
     * @param value
     * @return
     */
    public RoleCriteria lt(String name, Object value) {
    	super.lt(name, value);
        return this;
    }

    /**
     * 小于等于 less or equal
     *
     * @param name
     * @param value
     * @return
     */
    public RoleCriteria le(String name, Object value) {
    	super.le(name, value);
        return this;
    }
    
    public RoleCriteria isnull(String name) {
    	super.isnull(name);
        return this;
    } 

    public RoleCriteria notNull(String name) {
    	super.notNull(name);
        return this;
    } 
    
    public RoleCriteria empty(String name) {
    	super.empty(name);
        return this;
    } 
    
    public RoleCriteria notEmpty(String name) {
    	super.notEmpty(name);
        return this;
    } 
    
    public RoleCriteria add(Column column) {
    	super.add(column);
    	return this;
    }
    
    /**************************/
	
	public void addCriterion(String name, Object value, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value == null) {
			 throw new RuntimeException("Value for " + property + " cannot be null");
		 }
		 add(Column.create(name, value, logic, typeHandler, valueType));
	}
   
	public void addCriterion(String name, Object value1, Object value2, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value1 == null || value2 == null) {
			 throw new RuntimeException("Between values for " + property + " cannot be null");
		 }
		 add(Column.create(name, value1, value2, logic, typeHandler, valueType));
	}
		 
	public RoleCriteria andIdIsNull() {
		isnull("id");
		return this;
	}
	
	public RoleCriteria andIdIsNotNull() {
		notNull("id");
		return this;
	}
	
	public RoleCriteria andIdIsEmpty() {
		empty("id");
		return this;
	}

	public RoleCriteria andIdIsNotEmpty() {
		notEmpty("id");
		return this;
	}
       public RoleCriteria andIdEqualTo(java.lang.Integer value) {
          addCriterion("id", value, ConditionMode.EQUAL, "id", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andIdNotEqualTo(java.lang.Integer value) {
          addCriterion("id", value, ConditionMode.NOT_EQUAL, "id", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andIdGreaterThan(java.lang.Integer value) {
          addCriterion("id", value, ConditionMode.GREATER_THEN, "id", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andIdGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("id", value, ConditionMode.GREATER_EQUAL, "id", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andIdLessThan(java.lang.Integer value) {
          addCriterion("id", value, ConditionMode.LESS_THEN, "id", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andIdLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("id", value, ConditionMode.LESS_EQUAL, "id", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andIdBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("id", value1, value2, ConditionMode.BETWEEN, "id", "java.lang.Integer", "Float");
    	  return this;
      }

      public RoleCriteria andIdNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("id", value1, value2, ConditionMode.NOT_BETWEEN, "id", "java.lang.Integer", "Float");
          return this;
      }
        
      public RoleCriteria andIdIn(List<java.lang.Integer> values) {
          addCriterion("id", values, ConditionMode.IN, "id", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andIdNotIn(List<java.lang.Integer> values) {
          addCriterion("id", values, ConditionMode.NOT_IN, "id", "java.lang.Integer", "Float");
          return this;
      }
	public RoleCriteria andNameIsNull() {
		isnull("name");
		return this;
	}
	
	public RoleCriteria andNameIsNotNull() {
		notNull("name");
		return this;
	}
	
	public RoleCriteria andNameIsEmpty() {
		empty("name");
		return this;
	}

	public RoleCriteria andNameIsNotEmpty() {
		notEmpty("name");
		return this;
	}
        public RoleCriteria andNameLike(java.lang.String value) {
    	   addCriterion("name", value, ConditionMode.FUZZY, "name", "java.lang.String", "Float");
    	   return this;
      }

      public RoleCriteria andNameNotLike(java.lang.String value) {
          addCriterion("name", value, ConditionMode.NOT_FUZZY, "name", "java.lang.String", "Float");
          return this;
      }
      public RoleCriteria andNameEqualTo(java.lang.String value) {
          addCriterion("name", value, ConditionMode.EQUAL, "name", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andNameNotEqualTo(java.lang.String value) {
          addCriterion("name", value, ConditionMode.NOT_EQUAL, "name", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andNameGreaterThan(java.lang.String value) {
          addCriterion("name", value, ConditionMode.GREATER_THEN, "name", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andNameGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("name", value, ConditionMode.GREATER_EQUAL, "name", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andNameLessThan(java.lang.String value) {
          addCriterion("name", value, ConditionMode.LESS_THEN, "name", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andNameLessThanOrEqualTo(java.lang.String value) {
          addCriterion("name", value, ConditionMode.LESS_EQUAL, "name", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andNameBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("name", value1, value2, ConditionMode.BETWEEN, "name", "java.lang.String", "String");
    	  return this;
      }

      public RoleCriteria andNameNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("name", value1, value2, ConditionMode.NOT_BETWEEN, "name", "java.lang.String", "String");
          return this;
      }
        
      public RoleCriteria andNameIn(List<java.lang.String> values) {
          addCriterion("name", values, ConditionMode.IN, "name", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andNameNotIn(List<java.lang.String> values) {
          addCriterion("name", values, ConditionMode.NOT_IN, "name", "java.lang.String", "String");
          return this;
      }
	public RoleCriteria andPidIsNull() {
		isnull("pid");
		return this;
	}
	
	public RoleCriteria andPidIsNotNull() {
		notNull("pid");
		return this;
	}
	
	public RoleCriteria andPidIsEmpty() {
		empty("pid");
		return this;
	}

	public RoleCriteria andPidIsNotEmpty() {
		notEmpty("pid");
		return this;
	}
       public RoleCriteria andPidEqualTo(java.lang.Integer value) {
          addCriterion("pid", value, ConditionMode.EQUAL, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andPidNotEqualTo(java.lang.Integer value) {
          addCriterion("pid", value, ConditionMode.NOT_EQUAL, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andPidGreaterThan(java.lang.Integer value) {
          addCriterion("pid", value, ConditionMode.GREATER_THEN, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andPidGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("pid", value, ConditionMode.GREATER_EQUAL, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andPidLessThan(java.lang.Integer value) {
          addCriterion("pid", value, ConditionMode.LESS_THEN, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andPidLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("pid", value, ConditionMode.LESS_EQUAL, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andPidBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("pid", value1, value2, ConditionMode.BETWEEN, "pid", "java.lang.Integer", "Float");
    	  return this;
      }

      public RoleCriteria andPidNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("pid", value1, value2, ConditionMode.NOT_BETWEEN, "pid", "java.lang.Integer", "Float");
          return this;
      }
        
      public RoleCriteria andPidIn(List<java.lang.Integer> values) {
          addCriterion("pid", values, ConditionMode.IN, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andPidNotIn(List<java.lang.Integer> values) {
          addCriterion("pid", values, ConditionMode.NOT_IN, "pid", "java.lang.Integer", "Float");
          return this;
      }
	public RoleCriteria andStatusIsNull() {
		isnull("status");
		return this;
	}
	
	public RoleCriteria andStatusIsNotNull() {
		notNull("status");
		return this;
	}
	
	public RoleCriteria andStatusIsEmpty() {
		empty("status");
		return this;
	}

	public RoleCriteria andStatusIsNotEmpty() {
		notEmpty("status");
		return this;
	}
       public RoleCriteria andStatusEqualTo(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.EQUAL, "status", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andStatusNotEqualTo(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.NOT_EQUAL, "status", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andStatusGreaterThan(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.GREATER_THEN, "status", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andStatusGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.GREATER_EQUAL, "status", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andStatusLessThan(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.LESS_THEN, "status", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andStatusLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.LESS_EQUAL, "status", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andStatusBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("status", value1, value2, ConditionMode.BETWEEN, "status", "java.lang.Integer", "Float");
    	  return this;
      }

      public RoleCriteria andStatusNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("status", value1, value2, ConditionMode.NOT_BETWEEN, "status", "java.lang.Integer", "Float");
          return this;
      }
        
      public RoleCriteria andStatusIn(List<java.lang.Integer> values) {
          addCriterion("status", values, ConditionMode.IN, "status", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andStatusNotIn(List<java.lang.Integer> values) {
          addCriterion("status", values, ConditionMode.NOT_IN, "status", "java.lang.Integer", "Float");
          return this;
      }
	public RoleCriteria andRemarkIsNull() {
		isnull("remark");
		return this;
	}
	
	public RoleCriteria andRemarkIsNotNull() {
		notNull("remark");
		return this;
	}
	
	public RoleCriteria andRemarkIsEmpty() {
		empty("remark");
		return this;
	}

	public RoleCriteria andRemarkIsNotEmpty() {
		notEmpty("remark");
		return this;
	}
        public RoleCriteria andRemarkLike(java.lang.String value) {
    	   addCriterion("remark", value, ConditionMode.FUZZY, "remark", "java.lang.String", "Float");
    	   return this;
      }

      public RoleCriteria andRemarkNotLike(java.lang.String value) {
          addCriterion("remark", value, ConditionMode.NOT_FUZZY, "remark", "java.lang.String", "Float");
          return this;
      }
      public RoleCriteria andRemarkEqualTo(java.lang.String value) {
          addCriterion("remark", value, ConditionMode.EQUAL, "remark", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andRemarkNotEqualTo(java.lang.String value) {
          addCriterion("remark", value, ConditionMode.NOT_EQUAL, "remark", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andRemarkGreaterThan(java.lang.String value) {
          addCriterion("remark", value, ConditionMode.GREATER_THEN, "remark", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andRemarkGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("remark", value, ConditionMode.GREATER_EQUAL, "remark", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andRemarkLessThan(java.lang.String value) {
          addCriterion("remark", value, ConditionMode.LESS_THEN, "remark", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andRemarkLessThanOrEqualTo(java.lang.String value) {
          addCriterion("remark", value, ConditionMode.LESS_EQUAL, "remark", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andRemarkBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("remark", value1, value2, ConditionMode.BETWEEN, "remark", "java.lang.String", "String");
    	  return this;
      }

      public RoleCriteria andRemarkNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("remark", value1, value2, ConditionMode.NOT_BETWEEN, "remark", "java.lang.String", "String");
          return this;
      }
        
      public RoleCriteria andRemarkIn(List<java.lang.String> values) {
          addCriterion("remark", values, ConditionMode.IN, "remark", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andRemarkNotIn(List<java.lang.String> values) {
          addCriterion("remark", values, ConditionMode.NOT_IN, "remark", "java.lang.String", "String");
          return this;
      }
	public RoleCriteria andCreateTimeIsNull() {
		isnull("create_time");
		return this;
	}
	
	public RoleCriteria andCreateTimeIsNotNull() {
		notNull("create_time");
		return this;
	}
	
	public RoleCriteria andCreateTimeIsEmpty() {
		empty("create_time");
		return this;
	}

	public RoleCriteria andCreateTimeIsNotEmpty() {
		notEmpty("create_time");
		return this;
	}
       public RoleCriteria andCreateTimeEqualTo(java.math.BigDecimal value) {
          addCriterion("create_time", value, ConditionMode.EQUAL, "createTime", "java.math.BigDecimal", "Float");
          return this;
      }

      public RoleCriteria andCreateTimeNotEqualTo(java.math.BigDecimal value) {
          addCriterion("create_time", value, ConditionMode.NOT_EQUAL, "createTime", "java.math.BigDecimal", "Float");
          return this;
      }

      public RoleCriteria andCreateTimeGreaterThan(java.math.BigDecimal value) {
          addCriterion("create_time", value, ConditionMode.GREATER_THEN, "createTime", "java.math.BigDecimal", "Float");
          return this;
      }

      public RoleCriteria andCreateTimeGreaterThanOrEqualTo(java.math.BigDecimal value) {
          addCriterion("create_time", value, ConditionMode.GREATER_EQUAL, "createTime", "java.math.BigDecimal", "Float");
          return this;
      }

      public RoleCriteria andCreateTimeLessThan(java.math.BigDecimal value) {
          addCriterion("create_time", value, ConditionMode.LESS_THEN, "createTime", "java.math.BigDecimal", "Float");
          return this;
      }

      public RoleCriteria andCreateTimeLessThanOrEqualTo(java.math.BigDecimal value) {
          addCriterion("create_time", value, ConditionMode.LESS_EQUAL, "createTime", "java.math.BigDecimal", "Float");
          return this;
      }

      public RoleCriteria andCreateTimeBetween(java.math.BigDecimal value1, java.math.BigDecimal value2) {
    	  addCriterion("create_time", value1, value2, ConditionMode.BETWEEN, "createTime", "java.math.BigDecimal", "Float");
    	  return this;
      }

      public RoleCriteria andCreateTimeNotBetween(java.math.BigDecimal value1, java.math.BigDecimal value2) {
          addCriterion("create_time", value1, value2, ConditionMode.NOT_BETWEEN, "createTime", "java.math.BigDecimal", "Float");
          return this;
      }
        
      public RoleCriteria andCreateTimeIn(List<java.math.BigDecimal> values) {
          addCriterion("create_time", values, ConditionMode.IN, "createTime", "java.math.BigDecimal", "Float");
          return this;
      }

      public RoleCriteria andCreateTimeNotIn(List<java.math.BigDecimal> values) {
          addCriterion("create_time", values, ConditionMode.NOT_IN, "createTime", "java.math.BigDecimal", "Float");
          return this;
      }
	public RoleCriteria andUpdateTimeIsNull() {
		isnull("update_time");
		return this;
	}
	
	public RoleCriteria andUpdateTimeIsNotNull() {
		notNull("update_time");
		return this;
	}
	
	public RoleCriteria andUpdateTimeIsEmpty() {
		empty("update_time");
		return this;
	}

	public RoleCriteria andUpdateTimeIsNotEmpty() {
		notEmpty("update_time");
		return this;
	}
       public RoleCriteria andUpdateTimeEqualTo(java.math.BigDecimal value) {
          addCriterion("update_time", value, ConditionMode.EQUAL, "updateTime", "java.math.BigDecimal", "Float");
          return this;
      }

      public RoleCriteria andUpdateTimeNotEqualTo(java.math.BigDecimal value) {
          addCriterion("update_time", value, ConditionMode.NOT_EQUAL, "updateTime", "java.math.BigDecimal", "Float");
          return this;
      }

      public RoleCriteria andUpdateTimeGreaterThan(java.math.BigDecimal value) {
          addCriterion("update_time", value, ConditionMode.GREATER_THEN, "updateTime", "java.math.BigDecimal", "Float");
          return this;
      }

      public RoleCriteria andUpdateTimeGreaterThanOrEqualTo(java.math.BigDecimal value) {
          addCriterion("update_time", value, ConditionMode.GREATER_EQUAL, "updateTime", "java.math.BigDecimal", "Float");
          return this;
      }

      public RoleCriteria andUpdateTimeLessThan(java.math.BigDecimal value) {
          addCriterion("update_time", value, ConditionMode.LESS_THEN, "updateTime", "java.math.BigDecimal", "Float");
          return this;
      }

      public RoleCriteria andUpdateTimeLessThanOrEqualTo(java.math.BigDecimal value) {
          addCriterion("update_time", value, ConditionMode.LESS_EQUAL, "updateTime", "java.math.BigDecimal", "Float");
          return this;
      }

      public RoleCriteria andUpdateTimeBetween(java.math.BigDecimal value1, java.math.BigDecimal value2) {
    	  addCriterion("update_time", value1, value2, ConditionMode.BETWEEN, "updateTime", "java.math.BigDecimal", "Float");
    	  return this;
      }

      public RoleCriteria andUpdateTimeNotBetween(java.math.BigDecimal value1, java.math.BigDecimal value2) {
          addCriterion("update_time", value1, value2, ConditionMode.NOT_BETWEEN, "updateTime", "java.math.BigDecimal", "Float");
          return this;
      }
        
      public RoleCriteria andUpdateTimeIn(List<java.math.BigDecimal> values) {
          addCriterion("update_time", values, ConditionMode.IN, "updateTime", "java.math.BigDecimal", "Float");
          return this;
      }

      public RoleCriteria andUpdateTimeNotIn(List<java.math.BigDecimal> values) {
          addCriterion("update_time", values, ConditionMode.NOT_IN, "updateTime", "java.math.BigDecimal", "Float");
          return this;
      }
	public RoleCriteria andListorderIsNull() {
		isnull("listorder");
		return this;
	}
	
	public RoleCriteria andListorderIsNotNull() {
		notNull("listorder");
		return this;
	}
	
	public RoleCriteria andListorderIsEmpty() {
		empty("listorder");
		return this;
	}

	public RoleCriteria andListorderIsNotEmpty() {
		notEmpty("listorder");
		return this;
	}
       public RoleCriteria andListorderEqualTo(java.lang.Integer value) {
          addCriterion("listorder", value, ConditionMode.EQUAL, "listorder", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andListorderNotEqualTo(java.lang.Integer value) {
          addCriterion("listorder", value, ConditionMode.NOT_EQUAL, "listorder", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andListorderGreaterThan(java.lang.Integer value) {
          addCriterion("listorder", value, ConditionMode.GREATER_THEN, "listorder", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andListorderGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("listorder", value, ConditionMode.GREATER_EQUAL, "listorder", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andListorderLessThan(java.lang.Integer value) {
          addCriterion("listorder", value, ConditionMode.LESS_THEN, "listorder", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andListorderLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("listorder", value, ConditionMode.LESS_EQUAL, "listorder", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andListorderBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("listorder", value1, value2, ConditionMode.BETWEEN, "listorder", "java.lang.Integer", "Float");
    	  return this;
      }

      public RoleCriteria andListorderNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("listorder", value1, value2, ConditionMode.NOT_BETWEEN, "listorder", "java.lang.Integer", "Float");
          return this;
      }
        
      public RoleCriteria andListorderIn(List<java.lang.Integer> values) {
          addCriterion("listorder", values, ConditionMode.IN, "listorder", "java.lang.Integer", "Float");
          return this;
      }

      public RoleCriteria andListorderNotIn(List<java.lang.Integer> values) {
          addCriterion("listorder", values, ConditionMode.NOT_IN, "listorder", "java.lang.Integer", "Float");
          return this;
      }
	public RoleCriteria andValueIsNull() {
		isnull("value");
		return this;
	}
	
	public RoleCriteria andValueIsNotNull() {
		notNull("value");
		return this;
	}
	
	public RoleCriteria andValueIsEmpty() {
		empty("value");
		return this;
	}

	public RoleCriteria andValueIsNotEmpty() {
		notEmpty("value");
		return this;
	}
        public RoleCriteria andValueLike(java.lang.String value) {
    	   addCriterion("value", value, ConditionMode.FUZZY, "value", "java.lang.String", "Float");
    	   return this;
      }

      public RoleCriteria andValueNotLike(java.lang.String value) {
          addCriterion("value", value, ConditionMode.NOT_FUZZY, "value", "java.lang.String", "Float");
          return this;
      }
      public RoleCriteria andValueEqualTo(java.lang.String value) {
          addCriterion("value", value, ConditionMode.EQUAL, "value", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andValueNotEqualTo(java.lang.String value) {
          addCriterion("value", value, ConditionMode.NOT_EQUAL, "value", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andValueGreaterThan(java.lang.String value) {
          addCriterion("value", value, ConditionMode.GREATER_THEN, "value", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andValueGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("value", value, ConditionMode.GREATER_EQUAL, "value", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andValueLessThan(java.lang.String value) {
          addCriterion("value", value, ConditionMode.LESS_THEN, "value", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andValueLessThanOrEqualTo(java.lang.String value) {
          addCriterion("value", value, ConditionMode.LESS_EQUAL, "value", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andValueBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("value", value1, value2, ConditionMode.BETWEEN, "value", "java.lang.String", "String");
    	  return this;
      }

      public RoleCriteria andValueNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("value", value1, value2, ConditionMode.NOT_BETWEEN, "value", "java.lang.String", "String");
          return this;
      }
        
      public RoleCriteria andValueIn(List<java.lang.String> values) {
          addCriterion("value", values, ConditionMode.IN, "value", "java.lang.String", "String");
          return this;
      }

      public RoleCriteria andValueNotIn(List<java.lang.String> values) {
          addCriterion("value", values, ConditionMode.NOT_IN, "value", "java.lang.String", "String");
          return this;
      }
}